<?php

namespace App\Admin\Tools\Blacklist;

use Encore\Admin\Grid\Tools\AbstractTool;

class BlacklistRemarkTool extends AbstractTool
{
    private mixed $id;
    private string|null $name;
    private mixed $extends;

    public function __construct(int $id, string|null $name, mixed $extends)
    {
        $this->id = $id;
        $this->name = $name;
        $this->extends = $extends;
    }
    /**
     * @inheritDoc
     */
    public function render()
    {
        return view('blacklist.remark', [
            'id' => $this->id,
            'name' => $this->name,
            'extends' => $this->extends,
        ]);
    }
}
